package com.paddyi.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 用户 (User)
 *
 * @author paddy
 * @since 2019-04-26 04:34:10
 */
@Data
@ApiModel(value = "User对象", description = "用户")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "登陆名")
    private String loginName;
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "性别")
    private Integer sex;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "图片路径")
    private String img;
    @ApiModelProperty(value = "用户类别")
    private Integer userType;
    @ApiModelProperty(value = "用户状态")
    private Integer status;
    @ApiModelProperty(value = "所属机构")
    private Integer organizationId;
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

}